.editor {
  width: 100%;
  height: 100%;
  border: 1px solid #bbb;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  .editor-wrap {
    background-color: #fff;
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
  }
}